package chapter1031;

public class Frock1 {
    private double size;
    private String color;
    private double price;
    private static int currentNum = 100000;

    public static int getNextNum(){
        return currentNum += 100;
    }

    public String getDetails() {
        return "Frock{" +
                "size=" + size +
                ", color='" + color + '\'' +
                ", price=" + price +
                '}';
    }


}
